/**
 * Copyright (C) 2011, mordredd666 [_at_] gmail.com
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *  
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *  
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package de.mordred.gui;

import java.awt.Graphics;

import javax.swing.ImageIcon;

import de.mordred.Loader;

public class StartScreen extends FixedPanel
{

	private static final long serialVersionUID = 1557896058152398396L;

	public StartScreen()
	{
	}

	public void paintComponent(Graphics g)
	{

		ImageIcon bgImage = Loader.getImageIcon("mainscreen.png");
		if (bgImage != null)
		{
			g.drawImage(bgImage.getImage(), 0, 0, this.getWidth(), this.getHeight(), this);
		}
	}

}
